package ial10.project.synth;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class ProjectSynthActivity extends Activity {
	Button bRec, bErase, bSynth;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.sequencer);
        
        bRec = (Button) findViewById(R.id.Record);
        bErase = (Button) findViewById(R.id.Erase);
        bSynth = (Button) findViewById(R.id.Synth);
        
bRec.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub

			}
		});
bErase.setOnClickListener(new View.OnClickListener() {
			
			public void onClick(View v) {
				// TODO Auto-generated method stub

			}
		});
bSynth.setOnClickListener(new View.OnClickListener() {
	public void onClick(View v) {
			try{
				Class<?> ourClass = Class.forName("ial10.project.synth.Synth");
				Intent ourIntent = new Intent(ProjectSynthActivity.this, ourClass);
				startActivity(ourIntent);
				}catch(ClassNotFoundException e){
					e.printStackTrace();
				}
		}
	});
    }
}